(ptsopt || (ed->arcpt1->GetCreationTime().isValid()))) {
/* Interpolate time */
if (ptsopt) {
- wp->SetCreationTime(ed->arcpt2->GetCreationTime());;
+ wp->SetCreationTime(ed->arcpt2->GetCreationTime());
} else {
// Apply the multiplier to the difference between the times
// of the two points. Add that to the first for the
break;
case XT_UTM: {
char* ss;
- int i = 0;;
+ int i = 0;
utm_zone = strtod(s, &ss);
utm_zonec = ss[i];
(*cur_tx_tracklist_entry)->lat = wpt->latitude;
(*cur_tx_tracklist_entry)->lon = wpt->longitude;
(*cur_tx_tracklist_entry)->alt = (wpt->altitude != unknown_alt) ? wpt->altitude : 1e25;
- (*cur_tx_tracklist_entry)->Time = wpt->GetCreationTime().toTime_t();;
+ (*cur_tx_tracklist_entry)->Time = wpt->GetCreationTime().toTime_t();
if (!wpt->shortname.isEmpty()) {
strncpy((*cur_tx_tracklist_entry)->trk_ident, CSTRc(wpt->shortname), sizeof((*cur_tx_tracklist_entry)->trk_ident));
(*cur_tx_tracklist_entry)->trk_ident[sizeof((*cur_tx_tracklist_entry)->trk_ident)-1] = 0;
v = gc_large;
break;
case 5:
- v = gc_virtual;;
+ v = gc_virtual;
break;
case 6:
v = gc_other;
fatal(MYNAME ": Invalid latitude value (%f)\n", lat);
}
if ((lon > 180.0) || (lon < -180.0)) {
- fatal(MYNAME ": Invalid longitude value (%f)\n", lon);;
+ fatal(MYNAME ": Invalid longitude value (%f)\n", lon);
}
ilat=(int)floor((90.0+lat)/GEOID_GRID_DEG);
// X("two 2", "two two");
// X("one 1 throne", " one one throne ");
- X("dori", "do-ri");;
+ X("dori", "do-ri");
X("dora", "do$ra");
sn.badchars("or");
X("d-i", "do-ri");
sprintf(wp_name, fmt, index);
- wpt->latitude = lat;;
+ wpt->latitude = lat;
wpt->longitude = lon;
wpt->altitude = alt;
wpt->SetCreationTime(tim);
tm.tm_mon = ((w & 0x03c00000) >> 22) - 1;
tm.tm_year = ((w & 0xfc000000) >> 26) + 100;
- return mkgmtime(&tm);;
+ return mkgmtime(&tm);
}
static void